package com.javabank.ws.dao;

import java.util.List;

public interface BaseDAO<T> {

    public T getById(Class<T> t, int id);

    public void add(T t);

    public void delete(T t);

    public void update(T t);

    public T getById(int id);

    public List<T> getAll();
}